package client.logic.chat;

/**
 * an interface for a chat object that can send and receive messages 
 */
public interface Chatter {
	public static final int DEFAULT_CHAT_PORT = 1466;
	/**
	 * send a chat message to the foreign client
	 * @param message the message to send
	 */
	public void sendChatMessage(String message);
	/**
	 * closes the chat socket and streams and releases the resources
	 */
	public void close();
	/**
	 * restarts the chat
	 */
	public void reset();
}
